package gorpc

import (
	"gitee.com/tietang/terrace-go/v2/base"
	"gitee.com/tietang/terrace-go/v2/base/starter/irpc"
)

type GoRpcAPIStarter struct {
	base.BaseStarter
}

func (s *GoRpcAPIStarter) Init(ctx base.StarterContext) {
	irpc.RpcRegister(&AccountRpc{})
}
func (s *GoRpcAPIStarter) Setup(ctx base.StarterContext) {}
func (s *GoRpcAPIStarter) Start(ctx base.StarterContext) {}
func (s *GoRpcAPIStarter) Stop(ctx base.StarterContext)  {}
